home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / PRGMMING / PWORD_MC.ZIP / SET_UP.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-04  |  530 b   |  23 lines

  1. // Password input box
  2. // Michael J. Campbell, 1994
  3.  
  4. #include <graphics.h>
  5. #include "button.h"
  6.  
  7. void set_up(void)
  8.     {
  9.     // Make input box objects
  10.     button area(200,200,440,290,LIGHTGRAY,2,0,DEFAULT_FONT,1,0,"");
  11.     button input(260,235,380,250,LIGHTGRAY,2,1,SMALL_FONT,4,0,"");
  12.  
  13.     // Display boxes
  14.     area.draw();
  15.     input.press();
  16.  
  17.     settextjustify(CENTER_TEXT,CENTER_TEXT);
  18.     setcolor(BLACK);
  19.     outtextxy(320,210,"Enter Your Password");
  20.     outtextxy(320,275,"Type 'CHANGE' To Change Password");
  21.     line(210,220,430,220);
  22.  
  23.     }